package com.whnk.model.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.whnk.common.core.annotation.Excel;
import com.whnk.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
 * 【请填写功能名称】对象 def_t_task_op_log
 *
 * @author whnk
 * @date 2021-10-20
 */
public class DefTTaskOpLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑ID */
    private Long id;

    /** 工作流编码 */
    @Excel(name = "工作流编码")
    private String workflowCode;

    /** 流程实例编号 */
    @Excel(name = "流程实例编号")
    private String pcsExmpId;

    /** 任务种类 */
    @Excel(name = "任务种类")
    private String taskType;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 任务状态[1-待撮合,2-待处理,3-处理完成,4-退原组件,5-待人工指派,6-处理中] */
    @Excel(name = "任务状态[1-待撮合,2-待处理,3-处理完成,4-退原组件,5-待人工指派,6-处理中]")
    private String taskStatus;

    /** 指定处理机构 */
    @Excel(name = "指定处理机构")
    private String assignBrcode;

    /** 任务处理人员编号 */
    @Excel(name = "任务处理人员编号")
    private String oprNo;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWorkflowCode(String workflowCode)
    {
        this.workflowCode = workflowCode;
    }

    public String getWorkflowCode()
    {
        return workflowCode;
    }
    public void setPcsExmpId(String pcsExmpId)
    {
        this.pcsExmpId = pcsExmpId;
    }

    public String getPcsExmpId()
    {
        return pcsExmpId;
    }
    public void setTaskType(String taskType)
    {
        this.taskType = taskType;
    }

    public String getTaskType()
    {
        return taskType;
    }
    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTaskName()
    {
        return taskName;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setTaskStatus(String taskStatus)
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus()
    {
        return taskStatus;
    }
    public void setAssignBrcode(String assignBrcode)
    {
        this.assignBrcode = assignBrcode;
    }

    public String getAssignBrcode()
    {
        return assignBrcode;
    }
    public void setOprNo(String oprNo)
    {
        this.oprNo = oprNo;
    }

    public String getOprNo()
    {
        return oprNo;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workflowCode", getWorkflowCode())
            .append("pcsExmpId", getPcsExmpId())
            .append("taskType", getTaskType())
            .append("taskName", getTaskName())
            .append("startTime", getStartTime())
            .append("taskStatus", getTaskStatus())
            .append("assignBrcode", getAssignBrcode())
            .append("oprNo", getOprNo())
            .append("endTime", getEndTime())
            .toString();
    }
}
